package com.skyolder.milkbee.dto;

import java.io.Serializable;
import java.time.ZonedDateTime;

public class MyMessage implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 3608230373468551717L;
	private Long id;
	private String fromUserName;
	private String toUserName;
	private Long fromUserId;
	private Long toUserId;
	private String content;
	private ZonedDateTime createdAt;
	private Boolean me;
	private String sessionId;
	public MyMessage(){
	}
	public MyMessage(Long id,  String fromUserName, String toUserName, Long fromUserId, Long toUserId,
			String content,ZonedDateTime createdAt) {
		this.id = id;
		this.fromUserName = fromUserName;
		this.toUserName = toUserName;
		this.fromUserId = fromUserId;
		this.toUserId = toUserId;
		this.content = content;
		this.createdAt = createdAt;
		this.me = false;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getFromUserName() {
		return fromUserName;
	}

	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}

	public String getToUserName() {
		return toUserName;
	}

	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}

	public Long getFromUserId() {
		return fromUserId;
	}

	public void setFromUserId(Long fromUserId) {
		this.fromUserId = fromUserId;
	}

	public Long getToUserId() {
		return toUserId;
	}

	public void setToUserId(Long toUserId) {
		this.toUserId = toUserId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public ZonedDateTime getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(ZonedDateTime createdAt) {
		this.createdAt = createdAt;
	}

	public Boolean isMe() {
		return me;
	}

	public void setMe(Boolean me) {
		this.me = me;
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

}
